package com.shuo.xhlc.房屋出租系统.servict;

import com.shuo.xhlc.房屋出租系统.domain.Houst;

public class HouseServise {

    private Houst[] houses; //保存House对象

    public HouseServise(int size){
        houses = new Houst[size];//创建存放Houst对象的数组，并且指定大小
        //用于测试
        houses[0] = new Houst(1,"ljs","9904","204",3000,"以出租");
    }

    public Houst[] list(){
        return houses;
    }


}
